/*******************************************************************************
This DO will run all other do files necessary for the creation of the datasets
*******************************************************************************/

* Replace global for folder where the replication files folder is located
global workdirectory C:\Users\feder\Documents\Papers\LAC\Replication Files
cd "$workdirectory"

********************************************************************************

* Creates the dataset "main_dataset_meat.dta"
do "codes/core_dataset_creator.do"

* Creates dataset of Fuel exports (% of merchandise exports) - "dataset_fuels(10.04.2021).dta"
do "codes/fuels_data_creator.do"

* Creates IPUMS industry distribution at country level - "dataset_industry_ipums_all(09.16.2021).dta"
do "codes/industry_ipums_data_creator.do"

* Creates IPUMS informality and industry-informality datasets - "dataset_industry_ipums_informality(09.22.2021).dta"
do "codes/informality_ipums_data_creator.do"

* Creates urban shares based on data from IPUMS - "allregions_urbsh.dta"
do "codes/ipums_urbanization.do"

* Creates IPUMS education attainment and years of education data - "dataset_education_a65_ipums_19032022.dta" and "yrschool.dta""
do "codes/education_ipums_data_creator.do"

* Creates Share of construction in GDP dataset = "constr_gdp(02.19.21).dta"
do "codes/construction_data_creator.do"

* Creates "dataset_maps_and_cities_01.22.2022.dta" as well as: "fua_uc_pop_max"; "fua_uc_pop_sh" and; "fua_uc_pop_wgt"
do "codes/maps_and_cities_data_creator.do"

* Creates "dataset_maps_and_cities_classwk_01.22.2022" as well as: "fua_uc_pop_max"; "fua_uc_pop_sh" and; "fua_uc_pop_wgt"
do "codes/classwk_maps_and_cities_data_creator.do"

